/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package chapter1_modifiers;

/**
 *
 * @author Denise Carolina
 */
class MainForDefaultClassPublicMethod {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        DefaultClassPublicMethod x = new DefaultClassPublicMethod();
        String value = x.getMethod();
        System.out.println("value:: " + value);

        ProtectedClass x1 = new ProtectedClass();
//        ProtectedClass.ProtectedClass1 x2 = new ProtectedClass.ProtectedClass1() {
//
//            @Override
//            void method2() {
//                throw new UnsupportedOperationException("Not supported yet.");
//            }
//        };

    }

}
